package com.syh.jn.scm.service.api.supplier.finance.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Created by soci.song on 2018/10/18.
 */
@Getter
@AllArgsConstructor
public enum StatementAccountBillEnum {

  BOTH_UNCONFIRM(Short.valueOf("0"), "双方未确认", "对账单"),
  OUR_CONFIRM(Short.valueOf("1"), "服务商已确认", "对账单"),
  OTHERPARTY_CONFIRM(Short.valueOf("2"), "上游或下游已确认", "对账单"),
  BOTH_CONFIRM(Short.valueOf("3"), "双方已确认", "对账单"),

  NOT_INVOICE(Short.valueOf("0"), "未开票", "对账单开票状态"),
  PART_INVOICED(Short.valueOf("1"), "部分开票", "对账单开票状态"),
  FINISH_INVOICED(Short.valueOf("2"), "完成开票", "对账单开票状态"),

  // 往来单位类型
  CUSTOMER_TYPE_UPSTREAM(Short.valueOf("0"), "上游", "往来单位类型"),
  CUSTOMER_TYPE_DOWNSTREAM(Short.valueOf("1"), "下游", "往来单位类型"),
  CUSTOMER_TYPE_LOGISTICS(Short.valueOf("2"), "物流", "往来单位类型"),

  // 收付款状态
  MONEY_UNRECEIVED(Short.valueOf("0"), "未收付款", "对账单收款状态"),
  PART_MONEY_RECEIVED(Short.valueOf("1"), "部分收付款", "对账单收款状态"),
  MONEY_RECEIVED(Short.valueOf("2"), "完成收付款", "对账单收款状态"),

  // 单据来源
  SOURCE_SALE_ORD(Short.valueOf("0"), "销售订单", "单据来源"),
  SOURCE_SALE_RETURN_ORD(Short.valueOf("1"), "销售退货单", "单据来源"),
  SOURCE_PURCHASE_ORD(Short.valueOf("2"), "采购订单", "单据来源"),
  SOURCE_PURCHASE_RETURN_ORD(Short.valueOf("3"), "采购退货单", "单据来源"),
  SOURCE_COST_BILL(Short.valueOf("4"), "费用单", "单据来源"),
  SOURCE_INCOME_BILL(Short.valueOf("5"), "收入单", "单据来源"),
  SOURCE_LIGISTICS_BILL(Short.valueOf("6"), "物流单", "单据来源");

  private Short status;
  private String statusName;
  private String statusBelong;
}
